home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
comm2
/
termsorc.lha
/
Extras
/
Source
/
gtlayout-source.lha
/
LTP_AddGadgets.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-09-24
|
706b
|
30 lines
/* GadTools layout toolkit
**
** Copyright © 1993-1995 by Olaf `Olsen' Barthel
** Freely distributable.
*/
#include "gtlayout_global.h"
VOID __regargs
LTP_AddGadgets(LayoutHandle *handle)
{
if(handle)
{
#ifdef DO_BOOPSI_KIND
if(handle -> BOOPSIList)
{
AddGList(handle -> Window,(struct Gadget *)handle -> BOOPSIList,(UWORD)-1,(UWORD)-1,NULL);
RefreshGList((struct Gadget *)handle -> BOOPSIList,handle -> Window,NULL,(UWORD)-1);
}
#endif /* DO_BOOPSI_KIND */
AddGList(handle -> Window,handle -> List,(UWORD)-1,(UWORD)-1,NULL);
RefreshGList(handle -> List,handle -> Window,NULL,(UWORD)-1);
GT_RefreshWindow(handle -> Window,NULL);
LTP_DrawGroup(handle,handle -> TopGroup);
}
}